package com.tcd.policy.mapper;

import com.tcd.Policy.pojo.RiskTypeInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 险别信息基础表 Mapper 接口
 * </p>
 *
 * @author cz
 * @since 2021-05-28
 */
public interface RiskTypeInfoMapper extends BaseMapper<RiskTypeInfo> {

    List<RiskTypeInfo> selectRiskType();

    List<RiskTypeInfo> getRiskTypeByWarrantyIds(@Param("warrantyIds") Long[] warrantyIds);
}
